home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 22
/
freelog 22.iso
/
Prog
/
Djgpp
/
GPC2952B.ZIP
/
doc
/
gpc
/
docdemos
/
andbug.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
2001-02-09
|
205 b
|
10 lines
program AndBug;
var
p: ^Integer;
begin
New (p);
ReadLn (p^);
if (p <> nil) and (p^ < 42) then { This is NOT safe! }
WriteLn ('You''re lucky. But the test could have crashed...')
end.